* {
    margin: 0px;
    padding: 0px;
}

li {
    list-style: none;
    float: left;
}

.contBox {
    width: 680px;
    height: 366px;
    background-color: #33847e;
    overflow: hidden;
}

.Box {
    width: 460px;
    height: 120px;
    border-radius: 6px;
    margin: 131px 143px;
    overflow: hidden;
}

/* 默认状态左边样式 */
.leftBox {
    width: 130px;
    height: 120px;
    background-color: #5de2a3;
    float: left;
    border-radius: 6px;
    transition: 1s;
    position: relative;
    /* overflow: hidden; */
}

/* 银行卡样式 */
.card {
    width: 70px;
    height: 32px;
    padding: 7px 0px;
    border-radius: 6px;
    margin: 37px auto;
    background-color: #c8ffbc;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.308);
}

.topbox,
.bottombox {
    width: 65px;
    margin: 0px auto;
    height: 13px;
}
.bottombox {
    margin: 7px auto;
}
.topbox {
    background-color: #81ea69;
}

.bottombox {
    display: flex;
    align-items: center;
}

.bottombox li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0px 1px;
}

.bottombox li:nth-child(1) {
    background-color: #62c648;
}

.bottombox li:nth-child(2) {
    background-color: #348924;
}

.bottombox li:nth-child(3) {
    background-color: #147200;
}


/* 默认状态右边样式 */
.rightBox {
    width: 336px;
    height: 120px;
    float: left;
    margin-left: -6px;
    border-radius: 6px;
    background-color: white;
    overflow: hidden;
    text-indent: 20px;
    transition: 1s;
}

.rightBox span {
    font-size: 22px;
    float: left;
    margin-top: 48px;
}

.rightJT {
    float: left;
    width: 10px;
    height: 10px;
    margin-top: 60px;
    margin-left: 190px;
    border-right: 2px solid #cecece;
    border-bottom: 2px solid #cecece;
    transform: rotate(-45deg);
}

/* Box动画效果 */

.Box:hover .leftBox {
    animation: leftBox 1s linear forwards;
}

@keyframes leftBox {
    0% {
        width: 130px;
    }

    50% {
        width: 406px;
    }

    100% {
        width: 228px;
        height: 120px;
        transform: translateX(54px);
    }
}

.Box:hover .rightBox {
    animation: rightBox 1s linear forwards;
}

@keyframes rightBox {
    0% {
        width: 330px;
    }

    50% {
        width: 0px;
    }

    100% {
        width: 0px;
    }
}

.Box:hover .card {
    animation: card 2s linear forwards;
}

@keyframes card {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: translateY(-65px) rotate(90deg);
    }

    100% {
        animation-delay: 1s;
        transform: translateY(-15px) rotate(90deg);
    }
}

/* pos机 */
.posBox {
    width: 66px;
    height: 72px;
    background-color: #dddddf;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    overflow: hidden;
    margin: 0px 81px;
}

.posBox .topBox {
    width: 50px;
    height: 18px;
    margin: 0px auto;
}

.posBox .topBox .a {
    width: 50px;
    height: 9px;
    background-color: #7c747f;
}

.posBox .topBox .b {
    width: 50px;
    height: 9px;
    background-color: #545454;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.posBox .qianBox {
    width: 50px;
    height: 24px;
    margin: 5px auto;
    border-radius: 6px;
    background-color: white;
    font-size: 15px;
    font-weight: bolder;
    color: #5d8155;
    display: flex;
    justify-content: center;
    align-items: center;
}

.posBox .qianBox .icon {
    opacity: 0;
}

.posBox .gridBox {
    width: 50px;
    height: 34px;
    margin: 3px auto;
}

.posBox .gridBox li {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin: 2px;
    background-color: #828284;
}

.Box:hover .posBox {
    animation: posBox 1s 1s linear forwards;
}

@keyframes posBox {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-72px);
    }
}

.Box:hover .posBox .qianBox .icon {
    animation: icon 1s 2s linear forwards;
}

@keyframes icon {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}